<div id="footer">
   <div style="background-color:#179cc1;height:5px;width:100%">&nbsp;</div>
   <div class="clsfooterBg" >
  		 
   <div style="height:44px; width:100%; padding-top:17px" class="text-white" align="center" >
   		<div style="width:990px;" >
        	<div align="left" style="float:left; padding-top:10px" >© 2014 E-Learning. All Rights Reserved.</div>
        	<div align="right"  style="float: right" >
            					<a href="http://www.twitter.com"><img src="images/twitter.png"  /></a>&nbsp;
            					<a href="https://accounts.google.com"><img src="images/google+.png" /></a>&nbsp;
                                <a href="http://www.linkedin.com"><img src="images/linkdn.png"  /></a>&nbsp;
                                <a href="http://www.myspace.com"><img src="images/myspace.png"  /></a>
            	
            </div>
            <div style="clear:both"></div>
        </div>
   </div>
</div>
</div>

<script>
function intOnly(myfield, e)
{
	var key;
	var keychar;
	
	if (window.event)
	   key = window.event.keyCode;
	else if (e)
	   key = e.which;
	else
	   return true;
	keychar = String.fromCharCode(key);
	
	e = e || window.event; 
	if (e.ctrlKey && (("vV").indexOf(keychar) > -1))
	{
		return true;
	}
	
	if ((key==null) || (key==0) || (key==8) || (key==9) || (key==13) || (key==27) )
	{   
		return true; 
	}

	else if ((("0123456789").indexOf(keychar) > -1))
	{
	   return true;
	}  
	
	return false;
}

function alphabetsOnly(myfield, e)
{
	var key;
	var keychar;
	
	if (window.event)
	   key = window.event.keyCode;
	else if (e)
	   key = e.which;
	else
	   return true;
	keychar = String.fromCharCode(key);
	
	e = e || window.event; 
	if (e.ctrlKey && (("vV").indexOf(keychar) > -1))
	{
		return true;
	}
	
	if ((key==null) || (key==0) || (key==8) || (key==9) || (key==13) || (key==27) )
	{   
		return true; 
	}

	re = /^[A-Za-z ]+$/;
	if(re.test(keychar))
	{
		return true;
	}
	return false;
}

function alphaNumericOnly(myfield, e)
{
	var key;
	var keychar;
	
	if (window.event)
	   key = window.event.keyCode;
	else if (e)
	   key = e.which;
	else
	   return true;
	keychar = String.fromCharCode(key);
	
	e = e || window.event; 
	if (e.ctrlKey && (("vV").indexOf(keychar) > -1))
	{
		return true;
	}
	
	if ((key==null) || (key==0) || (key==8) || (key==9) || (key==13) || (key==27) )
	{   
		return true; 
	}

	re = /^[A-Za-z0-9\- ]+$/;
	if(re.test(keychar))
	{
		return true;
	}
	return false;
}
</script>